function randomStr(length) {
  let str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
  let result = ''
  for (let i = length; i > 0; --i)
    result += str[Math.floor(Math.random() * str.length)]
  return result
}

const config = {
  chengben: 'chengben',
  total: 'total',
  pay: 'pay',
  advice: 'advice',
  ziyuan: 'ziyuan',
  fuzai: 'fuzai',
}

export default {
  randomStr,
  config,
}
